﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using nelech.Models.DBModel;

namespace nelech.Controllers
{
    public partial class TrackController : Controller
    {
        public static void LoadTrackRelations(Track track)
        {
            track.Regeon1Reference.Load();
            track.Season.Load();
            track.Subject.Load();
            track.Time1Reference.Load();
            track.Traffic.Load();
            track.Circle1Reference.Load();
            track.Cost1Reference.Load();
            track.Difficulty1Reference.Load();
            track.Duration1Reference.Load();
            track.Image.Load();
        }
        public static void LoadZimerRelations(Zimer zimer)
        {
            zimer.Regeon1Reference.Load();
            zimer.Size.Load();
        }
    }
}
